import { Injectable } from '@angular/core';
import { HttpClientService } from 'app/services/http-client.service';

@Injectable()
export class MiCheckService {

  constructor(public httpClient: HttpClientService) { }
  // 查询单个数据信息
	getInfo(nRid) {
		return this.httpClient.get('/pms/v1/readInfo/pmsReadInfo/'+nRid);
  }
  // 审核通过
  checkPass(putBody){
    console.log(putBody);
    return this.httpClient.put('/pms/v1/readInfo/audit?action=2', putBody);
  }
  // 审核不通过
  checkNotPass(putBody){
    return this.httpClient.put('/pms/v1/readInfo/audit?action=4', putBody);
  }


}
